package com.eightbears.beboy.entity;

import com.eightbears.beboy.base.BaseDataEntity;
import com.eightbears.beboy.base.BaseEntity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Bao on 2017/8/31.
 */

public class CouponsEntity extends BaseEntity implements Serializable {

    private CouponsData data;

    public CouponsData getData() {
        return data;
    }

    public void setData(CouponsData data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "CouponsEntity{" +
                "data=" + data +
                '}';
    }

    public static class CouponsData extends BaseDataEntity implements Serializable {

        private List<Coupons> list;

        public List<Coupons> getList() {
            return list;
        }

        public void setList(List<Coupons> list) {
            this.list = list;
        }

        @Override
        public String toString() {
            return "CouponsData{" +
                    "list=" + list +
                    '}';
        }
    }

    public static class Coupons implements Serializable {

        private String id;
        private String shop_id;
        private String title;
        private String content;
        private String cover;
        private String price;
        private String discount_price;
        private String status;
        private String rec_num;
        private String start_at;
        private String end_at;
        private Shop shop;
        private Statistics statistics;

        public Statistics getStatistics() {
            return statistics;
        }

        public void setStatistics(Statistics statistics) {
            this.statistics = statistics;
        }

        private ShopDetailEntity.Managers managers;

        public ShopDetailEntity.Managers getManagers() {
            return managers;
        }

        public void setManagers(ShopDetailEntity.Managers managers) {
            this.managers = managers;
        }

        public Shop getShop() {
            return shop;
        }

        public void setShop(Shop shop) {
            this.shop = shop;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getShop_id() {
            return shop_id;
        }

        public void setShop_id(String shop_id) {
            this.shop_id = shop_id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getCover() {
            return cover;
        }

        public void setCover(String cover) {
            this.cover = cover;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getDiscount_price() {
            return discount_price;
        }

        public void setDiscount_price(String discount_price) {
            this.discount_price = discount_price;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getRec_num() {
            return rec_num;
        }

        public void setRec_num(String rec_num) {
            this.rec_num = rec_num;
        }

        public String getStart_at() {
            return start_at;
        }

        public void setStart_at(String start_at) {
            this.start_at = start_at;
        }

        public String getEnd_at() {
            return end_at;
        }

        public void setEnd_at(String end_at) {
            this.end_at = end_at;
        }

        @Override
        public String toString() {
            return "Coupons{" +
                    "id='" + id + '\'' +
                    ", shop_id='" + shop_id + '\'' +
                    ", title='" + title + '\'' +
                    ", content='" + content + '\'' +
                    ", cover='" + cover + '\'' +
                    ", price='" + price + '\'' +
                    ", discount_price='" + discount_price + '\'' +
                    ", status='" + status + '\'' +
                    ", rec_num='" + rec_num + '\'' +
                    ", start_at='" + start_at + '\'' +
                    ", end_at='" + end_at + '\'' +
                    ", shop=" + shop +
                    ", managers=" + managers +
                    '}';
        }
    }

    public static class Shop implements Serializable {

        private String shop_id;
        private String city_id;
        private String title;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getShop_id() {
            return shop_id;
        }

        public void setShop_id(String shop_id) {
            this.shop_id = shop_id;
        }

        public String getCity_id() {
            return city_id;
        }

        public void setCity_id(String city_id) {
            this.city_id = city_id;
        }

        @Override
        public String toString() {
            return "Shop{" +
                    "shop_id='" + shop_id + '\'' +
                    ", city_id='" + city_id + '\'' +
                    ", title='" + title + '\'' +
                    '}';
        }
    }

    public static class Statistics implements Serializable {

        private String coupon_id;
        private String sales;

        public String getCoupon_id() {
            return coupon_id;
        }

        public void setCoupon_id(String coupon_id) {
            this.coupon_id = coupon_id;
        }

        public String getSales() {
            return sales;
        }

        public void setSales(String sales) {
            this.sales = sales;
        }
    }

}
